package com.mmall.dto;

/**
 * @CLASS PageDto
 * @DESCRIPTION TODO
 * @AUTHor tang
 * @Date 2019-08-26 14:53
 * @VERSION 1.0
 **/
public class PageDto {
    private int pageNum;
    private int pageSize;

    public PageDto(){
        this.pageNum = 1;
        this.pageSize = 10;
    }

    public PageDto(int pageNum, int pageSize){
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
